package oocl.eshop.service;

import java.util.List;

import org.apache.tomcat.util.http.fileupload.FileItem;

import oocl.eshop.po.Food;
import oocl.eshop.po.Merchant;

public interface FoodManager {

	public List<Food> findFoodByName(String foodname);

	public List<Food> findFoodBymid(int mId);
	
	public Food findFoodByid(int fId);

	public int updateFood(Food food);

	public int addFood(Food food);

	public int deleteFood(int fId);

	public Food LoadFileFood(List<FileItem> fis,Merchant merchant);

}
